package com.sx.export.domain.po;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User implements Serializable {

    /** 用户ID */
    @TableId(type = IdType.ASSIGN_ID)
    @ExcelProperty(value = "用户ID", index = 0)
    private Long id;
    /** 用户名称 */
    @ExcelProperty(value = "用户名称", index = 1)
    private String userId;
    /** 用户昵称 */
    @ExcelProperty(value = "用户昵称", index = 2)
    private String userNickname;
    /** 用户头像 */
    @ExcelProperty(value = "用户头像", index = 3)
    private String userHead;
    /** 账号密码 */
    @ExcelProperty(value = "账号密码", index = 4)
    private String userPassword;
    /** 创建时间 */
    @ExcelProperty(value = "创建时间", index = 5)
    private Date createTime;
    /** 修改时间 */
    @ExcelProperty(value = "修改时间", index = 6)
    private Date updateTime;

}
